home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 June: Reference Library / Dev.CD Jun 96 RL / Dev.CD Jun 96 RL.toast / Technical Documentation / develop / develop Issue 6 / develop Issue 6 code / TCP.sea / TCP / finger / GetMyIPAddr.h < prev    next >
MacBinary  |  1991-04-03  |  1.3 KB  |  [TEXT/MPS ]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
1% dexvert MacBinary (archive/macBinary) fallback Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, inited, Wed Apr 3 17:29:18 1991, modified Wed Apr 3 17:29:18 1991, creator 'MPS ', type ASCII, 673 bytes "GetMyIPAddr.h" , at 0x321 382 bytes resource default (weak)
99% file data default
74% TrID Macintosh plain text (MacBinary) default
25% TrID MacBinary 2 default (weak)
100% dearkID deark: macbinary default
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[MPS ]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 0d 47 65 74 4d 79 49 | 50 41 64 64 72 2e 68 00 |..GetMyI|PAddr.h.|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4d 50 53 | 20 01 00 00 00 00 00 00 |.TEXTMPS| .......|
|00000050| 00 00 00 00 00 02 a1 00 | 00 01 7e a4 20 07 be a4 |........|..~. ...|
|00000060| 20 07 be 00 00 00 00 00 | 00 00 00 00 00 00 00 00 | .......|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 e0 00 00 00 |........|........|
|00000080| 2f 2a 20 0d 09 47 65 74 | 4d 79 49 50 41 64 64 72 |/* ..Get|MyIPAddr|
|00000090| 2e 68 09 0d 09 43 20 64 | 65 66 69 6e 69 74 69 6f |.h...C d|efinitio|
|000000a0| 6e 73 20 6f 66 20 70 61 | 72 61 6d 65 74 65 72 20 |ns of pa|rameter |
|000000b0| 62 6c 6f 63 6b 20 65 6e | 74 72 69 65 73 20 6e 65 |block en|tries ne|
|000000c0| 65 64 65 64 20 66 6f 72 | 20 49 50 20 63 61 6c 6c |eded for| IP call|
|000000d0| 73 0d 0d 20 20 20 20 43 | 6f 70 79 72 69 67 68 74 |s.. C|opyright|
|000000e0| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|000000f0| 20 49 6e 63 2e 20 31 39 | 38 39 20 0d 20 20 20 20 | Inc. 19|89 . |
|00000100| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|00000110| 76 65 64 0d 09 0d 2a 2f | 0d 0d 23 69 66 6e 64 65 |ved...*/|..#ifnde|
|00000120| 66 20 5f 47 45 54 4d 59 | 49 50 5f 0d 23 64 65 66 |f _GETMY|IP_.#def|
|00000130| 69 6e 65 20 5f 47 45 54 | 4d 59 49 50 5f 0d 0d 23 |ine _GET|MYIP_..#|
|00000140| 64 65 66 69 6e 65 20 69 | 70 63 74 6c 47 65 74 41 |define i|pctlGetA|
|00000150| 64 64 72 09 09 31 35 09 | 09 09 2f 2a 20 63 73 43 |ddr..15.|../* csC|
|00000160| 6f 64 65 20 74 6f 20 67 | 65 74 20 6f 75 72 20 49 |ode to g|et our I|
|00000170| 50 20 61 64 64 72 65 73 | 73 20 2a 2f 0d 0d 23 64 |P addres|s */..#d|
|00000180| 65 66 69 6e 65 20 50 61 | 72 61 6d 42 6c 6f 63 6b |efine Pa|ramBlock|
|00000190| 48 65 61 64 65 72 20 09 | 5c 0d 09 73 74 72 75 63 |Header .|\..struc|
|000001a0| 74 20 51 45 6c 65 6d 20 | 2a 71 4c 69 6e 6b 3b 20 |t QElem |*qLink; |
|000001b0| 09 5c 0d 09 73 68 6f 72 | 74 20 71 54 79 70 65 3b |.\..shor|t qType;|
|000001c0| 20 09 09 09 5c 0d 09 73 | 68 6f 72 74 20 69 6f 54 | ...\..s|hort ioT|
|000001d0| 72 61 70 3b 20 09 09 09 | 5c 0d 09 50 74 72 20 69 |rap; ...|\..Ptr i|
|000001e0| 6f 43 6d 64 41 64 64 72 | 3b 20 09 09 09 5c 0d 09 |oCmdAddr|; ...\..|
|000001f0| 50 72 6f 63 50 74 72 20 | 69 6f 43 6f 6d 70 6c 65 |ProcPtr |ioComple|
|00000200| 74 69 6f 6e 3b 20 09 5c | 0d 09 4f 53 45 72 72 20 |tion; .\|..OSErr |
|00000210| 69 6f 52 65 73 75 6c 74 | 3b 20 09 09 5c 0d 09 53 |ioResult|; ..\..S|
|00000220| 74 72 69 6e 67 50 74 72 | 20 69 6f 4e 61 6d 65 50 |tringPtr| ioNameP|
|00000230| 74 72 3b 20 09 5c 0d 09 | 73 68 6f 72 74 20 69 6f |tr; .\..|short io|
|00000240| 56 52 65 66 4e 75 6d 3b | 09 09 5c 0d 09 73 68 6f |VRefNum;|..\..sho|
|00000250| 72 74 20 69 6f 43 52 65 | 66 4e 75 6d 3b 09 09 5c |rt ioCRe|fNum;..\|
|00000260| 0d 09 73 68 6f 72 74 20 | 63 73 43 6f 64 65 0d 0d |..short |csCode..|
|00000270| 73 74 72 75 63 74 20 49 | 50 50 61 72 61 6d 42 6c |struct I|PParamBl|
|00000280| 6f 63 6b 20 7b 0d 09 50 | 61 72 61 6d 42 6c 6f 63 |ock {..P|aramBloc|
|00000290| 6b 48 65 61 64 65 72 3b | 09 09 09 2f 2a 20 73 74 |kHeader;|.../* st|
|000002a0| 61 6e 64 61 72 64 20 49 | 2f 4f 20 68 65 61 64 65 |andard I|/O heade|
|000002b0| 72 20 2a 2f 0d 09 69 70 | 5f 61 64 64 72 09 6f 75 |r */..ip|_addr.ou|
|000002c0| 72 41 64 64 72 65 73 73 | 3b 09 09 09 2f 2a 20 6f |rAddress|;.../* o|
|000002d0| 75 72 20 49 50 20 61 64 | 64 72 65 73 73 20 2a 2f |ur IP ad|dress */|
|000002e0| 0d 09 6c 6f 6e 67 09 6f | 75 72 4e 65 74 4d 61 73 |..long.o|urNetMas|
|000002f0| 6b 3b 09 09 09 2f 2a 20 | 6f 75 72 20 49 50 20 6e |k;.../* |our IP n|
|00000300| 65 74 20 6d 61 73 6b 20 | 2a 2f 0d 09 7d 3b 0d 09 |et mask |*/..};..|
|00000310| 0d 23 65 6e 64 69 66 20 | 5f 47 45 54 4d 59 49 50 |.#endif |_GETMYIP|
|00000320| 5f 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |_.......|........|
|00000330| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000340| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000350| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000380| 00 00 01 00 00 00 01 4c | 00 00 00 4c 00 00 00 32 |.......L|...L...2|
|00000390| 09 69 70 5f 61 64 64 72 | 09 6f 75 72 41 64 64 72 |.ip_addr|.ourAddr|
|000003a0| 65 73 73 3b 09 09 09 2f | 2a 20 6f 75 72 20 49 50 |ess;.../|* our IP|
|000003b0| 0d 47 65 74 4d 79 49 50 | 41 64 64 72 2e 68 02 00 |.GetMyIP|Addr.h..|
|000003c0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 80 00 00 |..TEXTMP|S ......|
|000003d0| 00 00 54 45 58 54 4d 50 | 53 20 01 00 00 80 00 00 |..TEXTMP|S ......|
|000003e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000003f0| 00 00 a0 55 47 68 00 00 | 02 a1 00 00 01 7e 63 6f |...UGh..|.....~co|
|00000400| 6e 73 69 64 65 72 65 64 | 20 70 61 69 6e 66 75 6c |nsidered| painful|
|00000410| 20 61 6e 64 20 74 69 6d | 65 20 63 6f 6e 73 75 6d | and tim|e consum|
|00000420| 69 6e 67 2e 0d 0d 54 68 | 65 72 65 20 61 72 65 20 |ing...Th|ere are |
|00000430| 73 65 76 65 72 61 6c 20 | 70 72 6f 64 75 63 74 73 |several |products|
|00000440| 20 74 68 61 74 20 77 65 | 20 66 65 65 6c 20 73 68 | that we| feel sh|
|00000450| 6f 75 6c 64 20 62 65 20 | 70 6f 69 6e 74 65 64 20 |ould be |pointed |
|00000460| 6f 75 74 20 61 73 20 72 | 65 71 75 69 72 69 6e 67 |out as r|equiring|
|00000470| 0d 61 74 74 65 6e 74 69 | 6f 6e 2e 20 20 41 6c 74 |.attenti|on. Alt|
|00000480| 00 00 00 48 00 09 4d 6f | 6e 61 63 6f 00 00 00 00 |...H..Mo|naco....|
|00000490| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000004a0| 00 00 00 00 00 00 00 06 | 00 04 00 53 00 19 01 cc |........|...S....|
|000004b0| 02 3a 00 53 00 19 01 cc | 02 3a a2 9d 84 12 00 00 |.:.S....|.:......|
|000004c0| 00 fd 00 00 00 fd 00 00 | 00 00 01 00 00 00 01 00 |........|........|
|000004d0| 00 00 01 4c 00 00 00 4c | 00 00 00 32 00 3f 1d b0 |...L...L|...2.?..|
|000004e0| 04 6a 00 00 00 1c 00 32 | 00 00 4d 50 53 52 00 00 |.j.....2|..MPSR..|
|000004f0| 00 0a 03 ed ff ff 00 00 | 00 00 00 40 f9 1c 00 00 |........|...@....|
+--------+-------------------------+-------------------------+--------+--------+